<?php
/**
 * Created by PhpStorm.
 * User: 11509
 * Date: 2021/4/1
 * Time: 8:58
 */

namespace app\admin\model;


use think\facade\Db;
use think\Model;

class GoodsPropValue extends Model
{
    public static function getGoodsPropValueSel()
    {
        $gpv=GoodsPropValue::select();
        return $gpv;
    }

    public static function getGoodsPropValue($vo)
    {
        $val=GoodsPropValue::where('vid','=',$vo)
            ->value('prop_value');
        return $val;
    }
}